package com.nintendo.service;

import com.nintendo.dto.CategoryDTO;
import com.nintendo.entity.Category;
import com.nintendo.entity.Ebook;
import com.nintendo.vo.PageInfoVo;

import java.util.List;

public interface CategoryService {
    public PageInfoVo findAllByNameAuthPage(CategoryDTO categoryDTO);
    public void saveCategory(Category category);
    public void deleteCategoryById(Long id);
    public List<Category> findAll();
}
